﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.WinControls;

namespace MN.Framework.UI
{
    public class MnRadMessageLocalizationProvider : RadMessageLocalizationProvider
    {
        public override string GetLocalizedString(string id)
        {
            switch (id)
            {
                case RadMessageStringID.AbortButton: return "انصراف";
                case RadMessageStringID.CancelButton: return "لغو";
                case RadMessageStringID.IgnoreButton: return "موافقم";
                case RadMessageStringID.NoButton: return "نه";
                case RadMessageStringID.OKButton: return "قبول";
                case RadMessageStringID.RetryButton: return "امتحان دوباره";
                case RadMessageStringID.YesButton: return "بله";
                default:
                    return base.GetLocalizedString(id);
            }
        }
    }
}
